package com.red.star.wechat.data.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * @Author: Yenan
 * @Description:
 * @Date: Created in 10:35 2018/2/6
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "t_vip")
public class Vip extends BaseEntity {
    private String mobile;

    private String vipOpenId;

    private String vipId;

    private String registerChannel;

    private String name;

    private String registerMall;

    private Date registerTime;

    private String firstLoginMall;

    private String firstLoginChannel;

    private Date firstLoginTime;

    private String registerMallCode;

    private String registerOmsCode;

    private String syncVip;

    public Vip(String mobile, String vipOpenId, String vipId, String name, Date registerTime, String registerMallCode, String registerOmsCode) {
        this.mobile = mobile;
        this.vipOpenId = vipOpenId;
        this.vipId = vipId;
        this.name = name;
        this.registerTime = registerTime;
        this.registerMallCode = registerMallCode;
        this.registerOmsCode = registerOmsCode;
    }
}
